package com.xhl.spring.module.runner;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * @Author CazCen
 * @Date 2021/12/1 21:40
 */
@Component
@Slf4j
public class XhlCommandLineRunner implements CommandLineRunner {

    @Override
    public void run(String... args) throws Exception {
        log.info("我是 CommandLineRunner 触发器，在初始化完成后执行 !!!");
    }
}
